require(["common", "jQuery"], function(jSouper) {
	jSouper.ready(function() {
		$(function(){
			$.ajax({
				sycn:false,
				url: "/api/complex/upload",
				type: "post",
				dataType: "json",
				// data: {"s_account":username,"s_password":password},

				success: function(result) {
					// alert("登录成功！！");
					console.log("登录成功", result);
					location.href = "main.html";
				},
				error: function(err) {
					alert("登录失败！！请检查用户名和密码是否正确");
					console.log("登录失败！！");
				}
			});
		})
	})

})